﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Framework.Platform.Components
{
    public abstract class NavigatorItemBase
    {
        private string _Key;

        public string Key
        {
            get { return _Key; }
            set { _Key = value; }
        }

        private string _Text;

        public string Text
        {
            get { return _Text; }
            set { _Text = value; }
        }

        private Object _Value;

        public Object Value
        {
            get { return _Value; }
            set { _Value = value; }
        }

        private string _Link;

        public string Link
        {
            get { return _Link; }
            set { _Link = value; }
        }

        private bool _IsLeaf = true;

        public bool IsLeaf
        {
            get { return _IsLeaf; }
            set { _IsLeaf = value; }
        }

        private bool _HasLoadChildren;
        /// <summary>
        /// 
        /// </summary>
        public bool HasLoadChildren
        {
            get { return _HasLoadChildren; }
            set { _HasLoadChildren = value; }
        }

        private string _ParentKey;

        public string ParentKey
        {
            get { return _ParentKey; }
            set { _ParentKey = value; }
        }
    }
}
